home *** CD-ROM | disk | FTP | other *** search
- on mouseDown
- global gQTcontrolRatio
- puppetSound("QT click")
- set the member of sprite 34 to member("standby...")
- updateStage()
- vOldMovieRate = sprite(46).movieRate
- sprite(46).movieRate = 0
- vControllerLength = the width of sprite 19 - (2 * 7)
- repeat while the stillDown
- vControllerPos = the mouseH - (the left of sprite 19 + 7)
- if (vControllerPos > 0) and (vControllerPos <= vControllerLength) then
- set the locH of sprite 31 to the left of sprite 19 + 6 + vControllerPos
- sprite(46).mtime = vControllerPos * gQTcontrolRatio
- vEndCatch = 0
- updateStage()
- next repeat
- end if
- if vControllerPos <= 0 then
- set the locH of sprite 31 to the left of sprite 19 + 7
- sprite(46).mtime = 0
- vEndCatch = 0
- updateStage()
- next repeat
- end if
- set the locH of sprite 31 to the left of sprite 19 + 7 + vControllerLength
- sprite(46).mtime = trackStopTime(sprite(46), 1)
- vEndCatch = 1
- updateStage()
- end repeat
- if (vControllerPos > 0) and (vControllerPos <= vControllerLength) then
- sprite(46).mtime = vControllerPos * gQTcontrolRatio
- else
- if vControllerPos <= 0 then
- sprite(46).mtime = 0
- else
- sprite(46).mtime = trackStopTime(sprite(46), 1)
- end if
- end if
- if vEndCatch = 0 then
- sprite(46).movieRate = vOldMovieRate
- else
- set the castNum of sprite 32 to the number of member "QT play"
- end if
- set the member of sprite 34 to member("blank command")
- updateStage()
- end
-